package com.newbingo.service.imple;

import java.util.List;

import com.newbingo.dao.imple.IGameDao;
import com.newbingo.entity.Game;
import com.newbingo.entity.GamePlay;
import com.newbingo.util.Pager;

public interface IGameService {

	public abstract void setGameDao(IGameDao gameDao);

	public abstract IGameDao getGameDao();

	public abstract void createGame(Game game);

	public abstract void delete(Game game);

	public abstract List findAll();
	
	public abstract List findAllDto();

	public abstract List<Game> findByGamename(Object gamename);

	public abstract Game findById(Integer id);

	public abstract void updateGame(Game game);

	/**
	 * 分页查询
	 */
	public abstract Pager findByPage(int start, int limit, Object type);

	public abstract List findByType(Object type);

}